package com.huarui.company.model;

import java.util.Date;

import org.ewaf.framework.model.BaseDataObject;

/**
 * 公司市场
 * @author ycf
 *
 */
public class CompanyMarket extends BaseDataObject{

	private static final long serialVersionUID = 2774271751826733716L;
	public static final int SEARCHABLE = 1;
	public static final int PUBLISHABLE = 1 ;
	private Integer id;
	
	private Integer companyId;
	
	private Integer marketId;
	
	private Date gmtCreate;
	
	private Date gmtModify;
	
	private Date gmtBegin;
	
	private Date gmtEnd;
	/**
	 * 有效期(天)
	 */
	private int duration;
	/**
	 * 是否套餐到期前购买套餐
	 */
	private boolean before;
	
	private Integer searchable = 0;
	
	private Integer publishable = 0;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public Integer getMarketId() {
		return marketId;
	}

	public void setMarketId(Integer marketId) {
		this.marketId = marketId;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Date getGmtBegin() {
		return gmtBegin;
	}

	public void setGmtBegin(Date gmtBegin) {
		this.gmtBegin = gmtBegin;
	}

	public Date getGmtEnd() {
		return gmtEnd;
	}

	public void setGmtEnd(Date gmtEnd) {
		this.gmtEnd = gmtEnd;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public boolean getBefore() {
		return before;
	}

	public void setBefore(boolean before) {
		this.before = before;
	}

	public Integer getSearchable() {
		return searchable;
	}

	public void setSearchable(Integer searchable) {
		this.searchable = searchable;
	}

	public Integer getPublishable() {
		return publishable;
	}

	public void setPublishable(Integer publishable) {
		this.publishable = publishable;
	}

	

	

	
	

}
